package com.seckill.service;

import com.seckill.domain.MiaoshaUser;
import java.awt.image.BufferedImage;

/**
 * @author yangjunwei
 * @date 2022/4/2 11:17 上午
 */
public interface VerifyCodeService {

    BufferedImage createVerifyCode(MiaoshaUser user, long goodsId);

    boolean checkVerifyCode(MiaoshaUser user, long goodsId, int verifyCode);


}
